#pragma once
#include <string>
#include <cv.h>
#include <highgui.h>

using namespace std;
class Video
{
private:
    //string fileName;
    char* fileName;
    CvCapture* capture;
    
public:
    
    Video(void);
    //void setFileName(string fileName);
    void setFileName(char* fileName);
    string getFileName();
    //void captureFromFile(string fileName); 
    void captureFromFile(char* fileName); 
    void captureFromCAM(int camNumber);
    IplImage* queryFrame();
    virtual ~Video(void);
};